<?php

class My_View_Helper_Qtip extends Zend_View_Helper_Abstract
{

    public function qtip($id,$idZona,$controller,$content,$attribs=null,$action='tooltip')
    {
       
        $url="/$controller/$action/id/$id/idZona/$idZona";
        
        $attribs['rel']=$url;
        $attribs['class']='selectorQtip';
        $attribs['title']=$attribs['title'] ? $attribs['title'] : $content;
        
        
        return $this->view->anchor('#',$content,$attribs,false);

	}	
        
        
           
}